package com.buer.train.business.dao;

import com.buer.train.business.domain.TrainningTeacherDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 培训和老师关联表
 * @date 2021-05-24 16:04:11
 */
@Mapper
public interface TrainningTeacherDao {

	TrainningTeacherDO get(Integer id);
	
	List<TrainningTeacherDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TrainningTeacherDO trainningTeacher);
	
	int update(TrainningTeacherDO trainningTeacher);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<TrainningTeacherDO> getTrainningTeacherList(Map<String, Object> map);

    TrainningTeacherDO getOne(Map<String, Object> map);
}
